package com.sky.mapper;

import com.sky.entity.ShoppingCart;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserShoppingCartMapper {
    List<ShoppingCart> selectShoppingCart(ShoppingCart shoppingCart);

    void updateByNumber(ShoppingCart shoppingCart);

    void insert();

    List<ShoppingCart> selectListShoppingCart(ShoppingCart build);

    void delete(Long userId);

    void deleteById(Long id);
}
